﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="http://tempuri.org/reporter.xsd" xmlns="http://tempuri.org/reporter.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" attributeFormDefault="unqualified">
  <xs:element name="ReporterConfiguration">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="SystemName" type="xs:string" minOccurs="1" maxOccurs="1"/>
        <xs:element name="CompressOutput" type="xs:boolean" minOccurs="1" maxOccurs="1"/>
        <xs:element name="PluginRec" type="PluginType"  minOccurs="1" maxOccurs="unbounded"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="PluginType">
    <xs:sequence>
      <xs:element name="Assembly" type="xs:string"  />
      <xs:element name="Class" type="xs:string"  />
      <xs:element name="Configuration" type="xs:string" />
      <xs:element name="Action" type="ActionType" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="ActionType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Writer" />
      <xs:enumeration value="Collector" />
    </xs:restriction>
  </xs:simpleType>
</xs:schema>